import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/page/Hello';
import Meiwen from '@/page/Meiwen';
import Xiaozu from '@/page/Xiaozu';
import Riji from '@/page/Riji';
import Regist from '@/page/Regist';
import Login from '@/page/Login';
import Setup from '@/page/Setup';
import Publish from '@/page/Publish';
import Details from '@/page/Details';
import Fenqu from '@/page/Fenqu';
import Remind from '@/page/Remind';
// import User from '@/components/User.vue';

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Hello
    },{
      path:"/meiwen",
      component:Meiwen
    },{
      path:"/xiaozu",
      component:Xiaozu
    },{
      path:"/riji",
      component:Riji
    },{
      path:"/regist",
      component:Regist
    },{
      path:"/login",
      component:Login
    },{
      path:"/setup",
      component:Setup
    },{
      path:"/publish",
      component:Publish
    },{
      path:"/details/:id",
      component:Details
    },{
      path:"/fenqu/:name",
      component:Fenqu
    },{
      path:"/remind",
      component:Remind
    }
    
  ]
})
